package us.kg.kotoriforest.springmvc.first.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Kotori rotroutine@163.com
 * @since 2025/2/4
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class User {
    private String username;
    private String password;
    private String cellphone;
    private Address address;
    private String sex;
    private List<String> hobby;
    private String grade;
    private Boolean agreement;

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    private static class Address {
        String province;
        String city;
        String area;
    }
}
